Lightweight Software Transactions for Games
نویسندگان
چکیده
To realize the performance potential of multiple cores, software developers must architect their programs for concurrency. Unfortunately, for many applications, threads and locks are difficult to use efficiently and correctly. Thus, researchers have proposed transactional memory as a simpler alternative. To investigate if and how software transactional memory (STM) can help a programmer to parallelize applications, we perform a case study on a game application called SpaceWars3D. After experiencing suboptimal performance, we depart from classic STM designs and propose a programming model that uses long-running, abort-free transactions that rely on user specifications to avoid or resolve conflicts. With this model we achieve the combined goal of competitive performance and improved programmability.
منابع مشابه
Lightweight Identification of Captured Memory for Software Transactional Memory
Software Transactional Memory (STM) implementations typically instrument each memory access within transactions with a call to an STM barrier to ensure the correctness of the transactions. Compared to simple memory accesses, STMbarriers are complex operations that add significant overhead to transactions doing many memory accesses. Thus, whereas STMs have shown good results for micro-benchmarks...
متن کاملIntroducing a Lightweight Structural Model via Simulation of Vernacular “Pa Tu Pa” Arch
The knowledge of Iranian vernacular structures is based on geometry, and there is a possibility of recreating such structural patterns aimed at producing movable structures. The purpose of this research was to utilize the patterns of vernacular structures to provide a lightweight structural model. The questions raised included how to create various forms based on the structural history of any r...
متن کاملFrom Games to Applications: Component Reuse in Rescue Robots
Component-based software engineering is useful for embedded applications such as robotics. However, heavyweight component systems such as CORBA overstrain the ressources available in many embedded systems. Here, a lightweight component-based approach is used to implement the system software of the so-called CubeSystem, CubeOS. Since 1998, CubeOS and its component system have been successfully u...
متن کاملApplication of Phase Change Material (PCM) for Cooling Load Reduction in Lightweight and Heavyweight Buildings: Case Study of a High Cooling Load Region of Iran
The application of phase change material (PCM) for energy conservation purposes in the residential buildings was investigated in the present study. Two types of building in terms of materials as the lightweight building (LWB) and heavyweight building (HWB) located in a high cooling load demanding region of Iran were considered for the study. Different types of PCM from organic and inorganic cat...
متن کاملThe Effectiveness of Computer Cognitive Games in Reducing Attention Deficit- Hyperactivity Disorder Symptoms and Improving Time Perception in Children
The aim of this study was to investigate the effect of computerized cognitive games on reduction of attention deficit hyperactivity disorder (ADHD) symptoms and time perception in children with ADHD. The present research method was a quasi-experimental pre-test-post-test design with a control group. Thirty students with ADHD were selected through purposeful sampling from elementary school stude...
متن کامل